package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.CouponListFragmentContract;
import com.zjc.yohoshop.mvp.model.CouponListFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class CouponListFragmentModules {

    private CouponListFragmentContract.CouponListFragmentIView iView;

    public CouponListFragmentModules(CouponListFragmentContract.CouponListFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public CouponListFragmentContract.CouponListFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public CouponListFragmentContract.CouponListFragmentIModel providerIModel(){
        return new CouponListFragmentModel();
    }

}
